﻿using Acb.Core.Domain.Entities;
using Acb.Core.Serialize;
using System;

namespace OAuth.Server.Domain.Entities
{
    /// <summary> 客户端配置 </summary>
    [Naming("t_client_config")]
    public class TClientConfig : BaseEntity<Guid>
    {
        /// <summary> 允许的领域 </summary>
        public string Scopes { get; set; }

        /// <summary> 允许的跨域 </summary>
        public string Origins { get; set; }

        /// <summary> 允许的授权方式 </summary>
        public string Grants { get; set; }

        /// <summary> 限制的提供者 </summary>
        public string Providers { get; set; }

        /// <summary> 重定向Uri </summary>
        public string Uris { get; set; }

        /// <summary> 注销登录重定向Uri </summary>
        public string LogoutUris { get; set; }
    }
}
